﻿using System;

namespace SimulationCenter.Scripts
{
    public class ExecutorStatusChangedArgs : EventArgs
    {
        public string Serial { get; private set; }

        public ExecutorStatus Status { get; private set; }

        public Exception Exception { get; set; }

        public ExecutorStatusChangedArgs(string serial, ExecutorStatus status)
        {
            Serial = serial;
            Status = status;
        }
    }
}
